package com.zahb.qadx.model;

import java.io.Serializable;
import java.util.List;

public class ResultsBean implements Serializable {
        /**
         * examId : 1326
         * examName : null
         * examUserResultId : 872
         * score : 7.0
         * accuracy : 0
         * answerTime : 25
         * totalQuestion : 8
         * wrongQuestionCount : 3
         * rightQuestionCount : 5
         * statisticsList : [{"questionType":1,"totalQuestion":2,"rightQuestionCount":1,"wrongQuestionCount":1,"score":1,"userAnswerCount":2},{"questionType":2,"totalQuestion":2,"rightQuestionCount":1,"wrongQuestionCount":1,"score":1,"userAnswerCount":2},{"questionType":3,"totalQuestion":2,"rightQuestionCount":2,"wrongQuestionCount":0,"score":4,"userAnswerCount":2},{"questionType":4,"totalQuestion":1,"rightQuestionCount":0,"wrongQuestionCount":1,"score":0,"userAnswerCount":1},{"questionType":5,"totalQuestion":1,"rightQuestionCount":1,"wrongQuestionCount":0,"score":1,"userAnswerCount":1},{"questionType":6,"totalQuestion":null,"rightQuestionCount":null,"wrongQuestionCount":null,"score":null,"userAnswerCount":null}]
         * userAnswerCount : 8
         * limitCheck : null
         * isCertificate : 0
         */

        private int examId;
        private Object examName;
        private int examUserResultId;
        private String score;
        private int accuracy;
        private int answerTime;
        private int totalQuestion;
        private int wrongQuestionCount;
        private int rightQuestionCount;
        private int userAnswerCount;
        private String limitCheck;
        private int isCertificate;
        private List<StatisticsListBean> statisticsList;

        public int getExamId() {
            return examId;
        }

        public void setExamId(int examId) {
            this.examId = examId;
        }

        public Object getExamName() {
            return examName;
        }

        public void setExamName(Object examName) {
            this.examName = examName;
        }

        public int getExamUserResultId() {
            return examUserResultId;
        }

        public void setExamUserResultId(int examUserResultId) {
            this.examUserResultId = examUserResultId;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public int getAccuracy() {
            return accuracy;
        }

        public void setAccuracy(int accuracy) {
            this.accuracy = accuracy;
        }

        public int getAnswerTime() {
            return answerTime;
        }

        public void setAnswerTime(int answerTime) {
            this.answerTime = answerTime;
        }

        public int getTotalQuestion() {
            return totalQuestion;
        }

        public void setTotalQuestion(int totalQuestion) {
            this.totalQuestion = totalQuestion;
        }

        public int getWrongQuestionCount() {
            return wrongQuestionCount;
        }

        public void setWrongQuestionCount(int wrongQuestionCount) {
            this.wrongQuestionCount = wrongQuestionCount;
        }

        public int getRightQuestionCount() {
            return rightQuestionCount;
        }

        public void setRightQuestionCount(int rightQuestionCount) {
            this.rightQuestionCount = rightQuestionCount;
        }

        public int getUserAnswerCount() {
            return userAnswerCount;
        }

        public void setUserAnswerCount(int userAnswerCount) {
            this.userAnswerCount = userAnswerCount;
        }

        public String getLimitCheck() {
            return limitCheck;
        }

        public void setLimitCheck(String limitCheck) {
            this.limitCheck = limitCheck;
        }

        public int getIsCertificate() {
            return isCertificate;
        }

        public void setIsCertificate(int isCertificate) {
            this.isCertificate = isCertificate;
        }

        public List<StatisticsListBean> getStatisticsList() {
            return statisticsList;
        }

        public void setStatisticsList(List<StatisticsListBean> statisticsList) {
            this.statisticsList = statisticsList;
        }

        public static class StatisticsListBean implements Serializable{
            /**
             * questionType : 1
             * totalQuestion : 2
             * rightQuestionCount : 1
             * wrongQuestionCount : 1
             * score : 1.0
             * userAnswerCount : 2
             */

            private int questionType;
            private int totalQuestion;
            private int rightQuestionCount;
            private int wrongQuestionCount;
            private double score;
            private int userAnswerCount;

            public int getQuestionType() {
                return questionType;
            }

            public void setQuestionType(int questionType) {
                this.questionType = questionType;
            }

            public int getTotalQuestion() {
                return totalQuestion;
            }

            public void setTotalQuestion(int totalQuestion) {
                this.totalQuestion = totalQuestion;
            }

            public int getRightQuestionCount() {
                return rightQuestionCount;
            }

            public void setRightQuestionCount(int rightQuestionCount) {
                this.rightQuestionCount = rightQuestionCount;
            }

            public int getWrongQuestionCount() {
                return wrongQuestionCount;
            }

            public void setWrongQuestionCount(int wrongQuestionCount) {
                this.wrongQuestionCount = wrongQuestionCount;
            }

            public double getScore() {
                return score;
            }

            public void setScore(double score) {
                this.score = score;
            }

            public int getUserAnswerCount() {
                return userAnswerCount;
            }

            public void setUserAnswerCount(int userAnswerCount) {
                this.userAnswerCount = userAnswerCount;
            }
        }

}
